package com.w3c.pragmatic.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotBlank;

/**
 * 产品分页查询请求对象
 *
 * @author wangdong
 * @since 2025/1/3 13:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "产品分页查询请求对象")
public class ProductPageReq extends PageReq {

  @NotBlank(message = "产品类型不能为空！")
  @ApiModelProperty(value = "产品类型")
  private String productType;

  @ApiModelProperty(value = "产品名称")
  private String productName;
}
